package noppes.vc.blocks.tiles;

import net.minecraft.nbt.NBTTagCompound;

public class TileCouchWood extends TileBasicRotation {
   public boolean hasLeft = false;
   public boolean hasRight = false;

   public void readFromNBT(NBTTagCompound compound) {
      super.readFromNBT(compound);
      this.hasLeft = compound.getBoolean("CouchLeft");
      this.hasRight = compound.getBoolean("CouchRight");
   }

   public NBTTagCompound writeToNBT(NBTTagCompound compound) {
      compound.setBoolean("CouchLeft", this.hasLeft);
      compound.setBoolean("CouchRight", this.hasRight);
      return super.writeToNBT(compound);
   }
}
